﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ExtendPropertyLib;
using MaxZhang.EasyEntities.Dynamic.Aop;

namespace ExtendPropertyLib.WPF
{
    public static  class ExtendObjectDynamicExtensions
    {
        public static T ToProxy<T>(this T bsobj) where T:ExtendObject 
        {
            T mwm = DynamicProxy.CreateProxy<T>(bsobj);
            
            return mwm;
        }


    }
}
